
#pragma once

#include <guichan.hpp>

class registerWndListener_t : public gcn::ActionListener
{
	bool action(const gcn::ActionEvent& actionEvent);
};

class registerWnd_t
{
public:
	static void init(gcn::Gui* gui);
	static void release();

public:
	static gcn::Gui* gui; 
	static gcn::Button* btnOK; 
	static gcn::Button* btnCancel;

	static gcn::TextField* tfAccount;
	static gcn::TextField* tfPassword;
	static gcn::TextField* tfRepPassword;

	static gcn::Icon* backIcon;
	static gcn::Image* backImage;

	static gcn::Label* lblAccount;
	static gcn::Label* lblPassword;
	static gcn::Label* lblRepPassword;
	
	static registerWndListener_t* listener;
	static gcn::Window* wnd;
	static gcn::Window* regWnd;
	
};
